#ifndef READER_H
#define READER_H
#include <iostream>
#include <vector>
#include "book.h"
using namespace std;

class Reader
{
	char* name;
	int id;
	int money;

public:
    int num;
	vector<Book> books;
	vector<int>  bookid;
	Reader(const char* _name="",int _id=0,int money = 100,int num = 0);
	char* get_name(void);
	int get_id(void);
	int get_money(void);
	int get_num(void);
	void set_num(int m_num);
	void set_name(char *m_name);
	void set_id(int m_id);
	void set_money(int m_money);
	void show(void);
	vector<Book>& getvector(void);
	~Reader(void);
};

#endif //READER_H
